package com.longchat.service.inter.system;

import com.longchat.domain.permission.SysUser;
import com.longchat.dto.comm.DatatablesPageViewInfo;
import com.longchat.dto.comm.ResultInfo;
import com.longchat.dto.system.LoginInfo;
import com.longchat.dto.system.SysUserQueryInfo;
import com.longchat.utils.vo.ResultWrapper;

public interface ISysuserService {

	SysUser login(LoginInfo info);
	
	ResultWrapper<SysUser> saveUser(SysUser user);
	/**
	 * 查询分页用户信息
	 * @param info
	 * @return
	 */
	public DatatablesPageViewInfo<SysUser> queryPageBy(SysUserQueryInfo info);

	/**
	 * 注销用户
	 * @param id
	 * @return
	 */
	public ResultInfo cancelUser(String uid);

}
